CREATE TABLE [dbo].[TTTIDO_SUNA]
(
[TI_DOCU_SUNA] [dbo].[TD_VC_002] NOT NULL,
[DE_TIDO_SUNA] [dbo].[TD_VC_050] NULL,
[DE_OBSE_0001] [dbo].[TD_VC_200] NULL,
[DE_OBSE_0002] [dbo].[TD_VC_200] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTTIDO_SU__CO_US__119F9925] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTTIDO_SU__FE_US__1293BD5E] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTTIDO_SU__CO_US__1387E197] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTTIDO_SU__FE_US__147C05D0] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTTIDO_SUNA] ADD CONSTRAINT [PK__TTTIDO_S__D8B387EC7B4643B2] PRIMARY KEY CLUSTERED  ([TI_DOCU_SUNA]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TTTIDO_SUNA] TO [public]
GRANT INSERT ON  [dbo].[TTTIDO_SUNA] TO [public]
GRANT DELETE ON  [dbo].[TTTIDO_SUNA] TO [public]
GRANT UPDATE ON  [dbo].[TTTIDO_SUNA] TO [public]
GO
